package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.GradeBean;
import com.project.bean.RoleBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 权限mapper接口
 */
@Mapper
public interface IGradeMapper extends BaseMapper<GradeBean> {

    public List<GradeBean> findGradeByLoginUserId(Integer loginUserId);
    public List<GradeBean> findGradeByRoleId(Integer[] roleId);
    public List<GradeBean> findByRoleId(Integer roleId);
}
